//
//  HNPickView.h
//  BestLearning
//
//  Created by 星道 on 17/5/16.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HNRegion.h"

//NS_ENUM，定义状态等普通枚举
typedef NS_ENUM(NSUInteger, RegionType) {
    HNPickViewProvice = 0,
    HNPickViewCity = 1,
    HNPickViewArea = 2,
    HNPickViewLeve = 3
};
@interface HNPickView : UIView<UIPickerViewDelegate,UIPickerViewDataSource>

@property (nonatomic, assign) RegionType RegionType;

@property (nonatomic, copy) void(^PickViewBlock)(RegionType,NSInteger);

@property (nonatomic, strong) NSArray *Leves;

- (void)Config;

- (void)Show:(HNRegion *)Model RegionType:(RegionType)RegionType;

- (void)Close;
@end
